home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-06 | 1.7 KB | 62 lines | [TEXT/ttxt] |
- This folder contains some examples of Caml programs.
-
- To run an example, just include (item "Include..." in the Files menu)
- the file "loadall.ml" from the corresponding folder.
-
- Examples marked (*) are in the folder ``Le langage Caml''.
- They are taken from the book ``Le langage Caml'',
- by Pierre Weis and Xavier Leroy (InterEditions, 1993).
- Messages and identifiers are in French.
-
- basics:
- Three all-time favorites: Fibonacci, Eratosthene's sieve, and the
- Unix "wc" utility.
-
- asl:
- This is the implementation of A Small Language, as described in
- part 3 of ``Functional Programming using Caml Light'', by
- Michel Mauny.
-
- colwheel:
- The "color wheel" (color space in HSV coordinates).
- Needs at least 256 colors to look good.
-
- compress: (*)
- File compression and decompression (Huffman).
-
- demonstr: (*)
- Tautology checker.
-
- docteur: (*)
- A (French-speaking) clone of Eliza.
-
- grep: (*)
- Regular expressions and automata.
-
- hanoi: (*)
- Animated towers of Hanoi.
-
- kb:
- The Knuth-Bendix completion procedure for rewriting systems.
- Taken from some course notes by Gerard Huet.
-
- minicaml: (*)
- An interpreter and typechecker for a subset of Caml.
-
- minilogo: (*)
- An interpreter for a small language with turtle graphics.
-
- pascal: (*)
- An interpreter and compiler for a subset of Pascal.
- The compiler generates code for the "picomach" program.
-
- picomach: (*)
- An assembler and simulator for a RISC processor.
-
- showsort:
- Graphic animation of sorting algorithms.
-
- spirals:
- Explore a family of flashy curves. (Use spir on a color screen
- and spir-bw on a black and white screen.)
-